var express = require('express');
var router = new express.Router();
var sysUsers=require('./data/sysUsers')
router.get('/sysUsers',function (req, res) {
  res.send(sysUsers);
})
router.get('/sys_add',function (request, response) {
  console.log(request.query);
  sysUsers.unshift(request.query);
  response.send({
    sys:sysUsers,
    flag:true
  })
})
module.exports= router;
